package com.grapro.visitorsystem.service;

import com.grapro.visitorsystem.dao.UserDao;
import com.grapro.visitorsystem.entity.UserEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserDao userDao;

    public UserEntity getUserById(String userId){
        return userDao.getUserById(userId);
    }
}
